package com.agent.repository;

import java.util.List;
import java.util.Map;


import com.agent.entity.RepaireInfo;
import com.agent.vo.RepaireInfoVO;
import org.springframework.stereotype.Repository;

@Repository
public interface RepaireInfoMapper {
	
	public List<RepaireInfo> searchRepaireInfo(RepaireInfoVO vo);
	public List<RepaireInfo> searchRepaireInfoForWeb(RepaireInfoVO vo);

	public List<RepaireInfo> searchRepaireInfoByStatus(Map map);
	public List<RepaireInfo> searchRepaireInfoByStatus06(Map map);
	public List<RepaireInfo> searchRepaireInfoPending(Map map);
	public List<RepaireInfo> searchRepaireInfoForCustom(Map map);

	public List<RepaireInfo> searchAll();
	
	public List<RepaireInfo> getRepaireInfo(String id);
	public List<RepaireInfo> getRepaireInfoByOrderId(String id);

	public void insert(RepaireInfo repaireInfo);

	public long insertSelective(RepaireInfo repaireInfo);

	public void update(RepaireInfo repaireInfo);
	
	public void delete(String id);

	int updateByWorkOrderId(RepaireInfo repaireInfo);

	int selectExpaireInfo();

	List<RepaireInfo> selectExpaireInfos();

}
